@layout("/common/_container.html",{js:["/assets/tool/toolOrderPut/toolOrderPut_add.js"]}){
<style>
	.layui-badge-rim, .layui-colla-content, .layui-colla-item, .layui-collapse, .layui-elem-field, .layui-form-pane .layui-form-item[pane], .layui-form-pane .layui-form-label, .layui-input, .layui-layedit, .layui-layedit-tool, .layui-quote-nm, .layui-select, .layui-tab-bar, .layui-tab-card, .layui-tab-title, .layui-tab-title .layui-this:after, .layui-textarea {
    	border-color: #89d19d;
    }
    .layui-form-pane .layui-form-label {
   	 	background-color: #e6e6e6;
	}
</style>
<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="orderPutForm" lay-filter="orderPutForm" class="layui-form layui-form-pane" style="max-width: 1300px;margin: 10px auto;">
                <input name="id" type="hidden"/>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 1px;">
			    	<legend>录入入库信息</legend>
			  	</fieldset> 
                <div class="layui-form-item">
                	<table>
                		<tr>
                			<td>
                    			<label class="layui-form-label" style="font-weight: 600;">客户名称<span style="color: red;">*</span></label>
                			</td>
                			<td colspan="3">
		                        <select id="putCustomerId" name="putCustomerId" lay-filter="dataSourceId" lay-verify="required" required>
		                            @for(item in customerlist!){
		                            <option value="${item.id}">${item.customerName}</option>
		                            @}
		                        </select>
                			</td>
                			<td>
                    			<label class="layui-form-label" style="font-weight: 600;">客户单号<span style="color: red;">*</span></label>
                			</td>
                			<td>
		                        <input id="putCustomerNumber" name="putCustomerNumber" placeholder="请输入客户单号" type="text" class="layui-input" lay-verify="required" required/>
                			</td>
                			<td>
                    			<label class="layui-form-label">预计时间</label>
                			</td>
                			<td colspan="3">
		                        <input id="estimatetime" name="estimatetime" placeholder="请输入预计入库时间" type="text" class="layui-input" lay-verify="" readonly="readonly" style="background: #E7EAED"/>
                			</td>
                		</tr>
                		<tr>
                			<td>
                    			<label class="layui-form-label" style="font-weight: 600;">仓库名称<span style="color: red;">*</span></label>
                			</td>
                			<td>
		                        <select id="warehouseId" name="warehouseId" lay-filter="dataSourceId" lay-verify="required" required>
		                            @for(item in wlist!){
		                            <option value="${item.id}">${item.warehouseName}</option>
		                            @}
		                        </select>
                			</td>
                			<td>
                    			<label class="layui-form-label">入库类别</label>
                			</td>
                			<td>
		                        <select id="putType" name="putType" lay-filter="dataSourceId" lay-verify="" required>
		                            @for(item in dictList!){
		                            <option value="${item.name}">${item.name}</option>
		                            @}
		                        </select>
                			</td>
                			<td>
                    			<label class="layui-form-label" style="font-weight: 600;">入库方式<span style="color: red;">*</span></label>
                			</td>
                			<td>
		                        <select id="putMode" name="putMode" lay-filter="putMode" lay-verify="required" required>
		                            @for(item in dictListm!){
		                            <option value="${item.name}">${item.name}</option>
		                            @}
		                        </select>
                			</td>
                			<td>
                    			<label class="layui-form-label">结算方式</label>
                			</td>
                			<td>
		                        <select id="settlement" name="settlement" lay-filter="dataSourceId" lay-verify="" required>
		                            <option value=""></option>
		                            @for(item in dictLists!){
		                            <option value="${item.name}">${item.name}</option>
		                            @}
		                        </select>
                			</td>
                			<td>
                    			<label class="layui-form-label">客户交货单号</label>
                			</td>
                			<td>
		                        <input id="shipmentnumber" name="shipmentnumber" placeholder="客户交货单号" type="text" class="layui-input" lay-verify="" required/>
                			</td>
                		</tr>
                		<tr>
                			<td>
                    			<label class="layui-form-label">车牌号/柜号</label>
                			</td>
                			<td>
		                        <input id="carnumber" name="carnumber" placeholder="请输入来车牌号/柜号" type="text" class="layui-input" lay-verify="" required/>
                			</td>
                			<td>
                    			<label class="layui-form-label">来源地</label>
                			</td>
                			<td>
		                        <input id="origin" name="origin" placeholder="请输入来源地" type="text" class="layui-input" lay-verify="" required/>
                			</td>
                			<td>
                    			<label class="layui-form-label">来源单位</label>
                			</td>
                			<td colspan="5">
		                        <input id="sourceunit" name="sourceunit" placeholder="请输入来源单位" type="text" class="layui-input" lay-verify="" required/>
                			</td>
                		</tr>
                		<tr>
                			<td>
                    			<label class="layui-form-label">备注</label>
                			</td>
                			<td colspan="9">
		                        <input id="notes" name="notes" placeholder="请输入备注" type="text" class="layui-input" lay-verify="" required/>
                			</td>
                		</tr>
                	</table>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}